package com.kitty.game.equip.service;

import com.kitty.common.utils.SpringUtils;
import com.kitty.game.drop.DropDataPool;
import com.kitty.game.drop.model.product.FightDropSet;
import com.kitty.game.drop.newservice.NewDropService;
import com.kitty.game.fight.service.FightService;
import com.kitty.game.role.model.Role;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class MangHeService {
    /**最大概率值，几分之一*/
    private final static int MAX_ODDS = 1000;
    @Autowired
    NewDropService newDropService;

    public void openMangHe( Role role){
        List<FightDropSet> fightDropSets = DropDataPool.fightDropBossMap.get("盲盒");
        SpringUtils.getBean(FightService.class).forDropSet(role,fightDropSets,"盲盒");
    }




}
